<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title th:text="${session.title}">123</title>
    <link th:replace="common/header"/>
    <link rel="stylesheet" th:href="@{/css/ace-skins.min.css}"/>
</head>
<body class="navbar-fixed">
<div th:replace="common/top"></div>
<div class="container-fluid main_bg" id="main-container">
    <a id="menu-toggler" href="#"><span></span></a>
    <div th:replace="common/menu"></div>
    <div id="main-content" class="clearfix">
        <div id="page-content" class="clearfix">
            <div th:replace="common/title"></div>
            <form class="form-horizontal" th:object="${footReward}" method="post" th:action="@{/foot/footReward/edit}"
                  name="form" th:if="${session.footUser.qx.text == '管理员'}">
                <input type="hidden" name="id" th:field="*{id}"/>
                <h3 class="header smaller lighter blue"><em class="icon-edit"></em>修改抽奖记录</h3>
                <div class="row-fluid">
                    <!--PAGE CONTENT BEGINS HERE-->
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="nike">用户:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{nike}" name="nike" id="nike" class="input_fix"
                                       placeholder="用户" readonly="readonly"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('nike')}"
                              th:errors="*{nike}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="getTimesFree">当日免费抽奖次数:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{getTimesFree}" name="getTimesFree" id="getTimesFree" class="input_fix"
                                       placeholder="当日免费抽奖次数"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('getTimesFree')}"
                              th:errors="*{getTimesFree}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="getTimes">当日抽奖次数:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{getTimes}" name="getTimes" id="getTimes" class="input_fix"
                                       placeholder="当日抽奖次数"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('getTimes')}"
                              th:errors="*{getTimes}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="totalTimes">累计抽取次数:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{totalTimes}" name="totalTimes" id="totalTimes" class="input_fix"
                                       placeholder="累计抽取次数"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('totalTimes')}" th:errors="*{totalTimes}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="needPay">抽取花费金额:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{needPay}" name="needPay" id="needPay" class="input_fix"
                                       placeholder="抽取花费金额"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('needPay')}" th:errors="*{needPay}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="odds">获取球员±倍率:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{odds}" name="odds" id="odds" class="input_fix"
                                       placeholder="获取球员±倍率"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('odds')}" th:errors="*{odds}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="mustGet">必获次数:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{mustGet}" name="mustGet" id="mustGet" class="input_fix"
                                       placeholder="必获次数"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('mustGet')}" th:errors="*{mustGet}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="showOdds">出现高级机率次数:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{showOdds}" name="showOdds" id="showOdds" class="input_fix"
                                       placeholder="出现高级机率次数"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('showOdds')}" th:errors="*{showOdds}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="white">大众白人获取几率:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{white}" name="white" id="white" class="input_fix"
                                       placeholder="大众白人获取几率"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('white')}"
                              th:errors="*{white}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="green">普通球星获取几率:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{green}" name="green" id="green" class="input_fix"
                                       placeholder="普通球星获取几率"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('green')}"
                              th:errors="*{green}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="blue">洲际球星获取几率:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{blue}" name="blue" id="blue" class="input_fix"
                                       placeholder="洲际球星获取几率"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('blue')}"
                              th:errors="*{blue}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="purple">超级球星获取几率:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{purple}" name="purple" id="purple" class="input_fix"
                                       placeholder="超级球星获取几率"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('purple')}"
                              th:errors="*{purple}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="orange">顶级球星获取几率:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{orange}" name="orange" id="orange" class="input_fix"
                                       placeholder="顶级球星获取几率"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('orange')}"
                              th:errors="*{orange}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="text-center span12">
                        <button class="btn btn-primary" type="submit"><em class="icon-save"></em>提交</button>
                        <button class="btn btn-danger" type="reset"><em class="icon-remove"></em>取消</button>
                        <a class="btn" type="button" th:href="@{/foot/footReward/search}"><em
                                class="icon-arrow-left"></em>返回</a>
                    </div>
                </div>
            </form>
            <!--/#page-content-->
        </div>
        <div th:replace="common/skin :: skin"></div>
    </div>
    <!--/#main-content-->
</div>
<!--/.fluid-container#main-container-->
<div th:replace="common/js"></div>
</body>
</html>